<#assign className = table.className>
<#assign classNameLower = className?uncap_first>
<#assign classNameAllLower = className?lower_case>
package ${basePackage}.${moduleName}.model.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
<#list table.columns as column>
    <#if column.sqlName != 'create_time' && column.sqlName != 'update_time' && column.isDateTimeColumn>
import java.time.LocalDateTime;
        <#break>
    </#if>
</#list>
<#list table.columns as column>
    <#if column.isDateTimeColumn>
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
        <#break>
    </#if>
</#list>
<#if table.enumColumns?? && (table.enumColumns?size>0)>
import com.baomidou.mybatisplus.annotation.TableField;
import ${basePackage}.${moduleName}.model.entity.${className};
</#if>
<#list table.columns as column>
    <#if column.sqlTypeName == "DECIMAL">
import java.math.BigDecimal;
        <#break>
    </#if>
</#list>

/**
 * ${table.remarks}VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ${className}VO {

    <#list table.columns as column>
        <#if column.sqlName == 'version' || column.sqlName == 'update_time' || column.sqlName == 'is_deleted' || column.sqlName == 'remark'>
        <#elseif column.isDateTimeColumn>
    /**
     * ${column.columnAlias}
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private ${column.simpleJavaType} ${column.columnNameLower};

        <#elseif column.isImage>
    /**
     * ${column.columnAlias?substring(0, column.columnAlias?index_of(":"))}
     */
    private ${column.simpleJavaType} ${column.columnNameLower};

        <#elseif column.isEnum>
    /**
     * ${column.columnAlias}
     */
    private ${className}.${column.columnName} ${column.columnNameLower};

    /**
    * ${column.columnAlias}描述
    */
    @TableField(exist = false)
    private String ${column.columnNameLower}Desc;

    public String get${column.columnName}Desc() {
        return ${column.columnNameLower}.getDesc();
    }

        <#else>
    /**
     * ${column.columnAlias}
     */
    private ${column.simpleJavaType} ${column.columnNameLower};

        </#if>
    </#list>
}
